package wli.app.util;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class MyTrinaryTreeTest {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testInsert() {
		MyTrinaryTree tnt = new MyTrinaryTree();
		NodeStructure root = new NodeStructure();
		tnt.insert(root, 5);
		tnt.insert(root, 4);
		tnt.insert(root, 5);
		tnt.insert(root, 9);
		tnt.insert(root, 2);
		tnt.insert(root, 7);
		tnt.insert(root, 2);
	}

}
